//  首页API
import  request from "../utils/request.js"

// 获取统计卡片数据
export const getHomeOverview = (params = {}) => {
    return request.get('/home/get-home-overview',{ params })
}
// 近七天论文上传情况折线图
export const getWeeklyPaperUploads = (params = {}) => {
    return request.get('/home/weekly-uploads',{ params })
}

// 各专业学生分数分布情况柱状-散点图
export const getPaperScoreDistribution = (params = {}) => {
    return request.get('/home/score-distribution',{ params })
}

// 各专业各分数段学生分布情况柱状图
export const getAdminHomeScoreStudentSum = (params = {}) => {
    return request.get('/home/score-student-sum',{ params })
}
